package com.example.infowall02.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//创建Oss属性类，接收proprties文件中的属性
//阿里云oss属性配置类
@Component
@ConfigurationProperties(prefix = "alioss")
@Data
public class AliOssProperties {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
}

